package com.woorigil.social;

public class DiscountUtils {
	public static int getRate(double originalPrice, double salesPrice) {
		double rate = ((originalPrice - salesPrice) / originalPrice) * 100;
		return (int) rate;
	}
}
